<?php

namespace App\Console\Commands;

use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Redis;
use App\Http\Services\NewRoomServices;

class CommandSetRoomhot extends Command
{
    protected $signature = 'CommandSetRoomhot';

    protected $description = '更新房间热度和开启时长';

    public function __construct()
    {
        parent::__construct();
    }

    public function handle()
    {
        do {
            $roomServices = new NewRoomServices();
            $roomServices->setRoomhot();

        } while (false);
    }

}